/*
 * Copyright (c) 2011 Jean-Marc Perronne
 * Ensisa, 12 rue des Freres Lumieres, F-68093 Mulhouse cedex
 * All rights reserved.
 *
 * The copyright of this software is owned by Werner Randelshofer. 
 * You may not use, copy or modify this software, except in  
 * accordance with the license agreement you entered into with  
 * Jean-Marc Perronne. For details see accompanying license terms. 
 */

package fr.uha.ensisa.jmp.drone.recorder;

import java.io.IOException;
import java.io.PrintWriter;

public abstract class TextFileWriter<T> extends FileWriter<T>
{
	protected PrintWriter writer;

	@Override
	public void open() throws IOException
	{
		this.writer = new PrintWriter(this.path);
	}

	@Override
	public void close() throws IOException
	{
		this.writer.close();
	}
}
